package com.ruoyi.system.service.impl.eleme;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.domain.entity.ElemePromotionVenue;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.mapper.eleme.ElemePromotionVenueMapper;
import com.ruoyi.system.service.eleme.ElemeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName ElemeServiceImpl
 * @Author 任宝坤
 * @Date 2025/9/4 16:25
 * @Version v1.0
 **/
@Service
public class ElemeServiceImpl implements ElemeService {

    @Resource
    private ElemePromotionVenueMapper mapper;

    @Override
    public AjaxResult add(ElemePromotionVenue venue) {
        mapper.addElemePromotionVenue(venue);
        return null;
    }

    @Override
    public List<ElemePromotionVenue> list() {
        return mapper.list();
    }
}
